import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useCount = defineStore(
  'count',
  () => {
    const count = ref(50)
    const deccount = () => {
      count.value -= 5
    }
    const inscount = () => {
      count.value += 5
    }
    return { count, deccount, inscount }
  },
  { persist: true }
)
